<?php
/**
 * @category   Application_Extensions
 * @package    Groupon Plugin
 * @copyright  VinaTay Co., Ltd.
 * @license
 */
class Exam_Model_Category extends Core_Model_Item_Abstract {

    public function getCateChildren()
    {
        $table = Engine_Api::_()->getDbtable('categories','exam');
        $Children = $table->select()
                        ->where('parent_id=?',$this->category_id)
                        ->query()->fetchAll();

        return $Children;
    }
}